package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(50)"`
	Password string `gorm:"type:varchar(255)"`
}
type Good struct {
	gorm.Model
	GoodName  string `gorm:"type:varchar(50)"`
	GoodPrice int    `gorm:"type:int"`
}
type Comment struct {
	gorm.Model
	uid      int    `gorm:"type:int"`
	Comments string `gorm:"type:varchar(50)"`
}
